home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-02-16 | 614 b | 23 lines | [TEXT/GEOL] |
- Item 9961073 13-Feb-90 12:03PST
-
- From: WINGZ.TECH Informix SW, Keith A Esau,PRT
-
- To: CPLUS.DEV$ C++ Interest List--Developers
-
- cc: DAWSON.M Dawson, Mark
-
- Sub: Re: Good KeyMap handling
-
- I've added the following define to events.h:
-
- #define KEYON(thekeys,whichkey) (((char *)thekeys)[(whichkey) / 8] & \
- (1 << ((whichkey) & 0x07)))
-
- (don't forget that Pascal numbers bits backward).
-
- This way looks clean at least, (and compiles well).
-
- Keith Esau, Informix Software
- AppleLink: WINGZ.TECH
-
-